package ynu.edu.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class Orders {
	@TableId
	@Schema(description = "订单编号")
	private Integer orderId;

	@Schema(description = "所属用户编号")
	private String userId;

	@Schema(description = "所属商家编号")
	private Integer businessId;

	@Schema(description = "订购日期")
	private String orderDate;

	@Schema(description = "订单总价")
	private Double orderTotal;

	@Schema(description = "所属送货地址编号")
	private Integer daId;

	@Schema(description = "订单状态（0：未支付； 1：已支付）")
	private Integer orderState;

}
